package com.xcesys.extras.remoting.system;

import java.util.Collection;

import javax.jws.WebService;

import com.xcesys.extras.dataobject.system.CodeList;
import com.xcesys.extras.dataobject.system.CodeType;

/**
 * CodeList 服务.
 * 
 * @author Danne
 * 
 */
@WebService(targetNamespace = "com.xcesys.extras.remoting.system", serviceName = "CodeListService")
public interface RCodeListService {
	public CodeList create(CodeList codelist);

	public CodeType doCreateCodeType(CodeType codeType);

	public void doDeleteCodeList(CodeList codelist);

	public void doDeleteCodeType(CodeType codeType);

	public Collection<CodeList> doFindAllCodeLists();

	public Collection<CodeType> doFindAllCodeTypes();

	public CodeList doFindCodeListById(Long id);

	public Collection<CodeList> doFindCodeLists(String type);

	public CodeType doFindCodeTypeById(Long id);

	public Collection<CodeType> doFindCodeTypesByType(String type);

	public CodeList doUpdateCodeList(CodeList codelist);

	public CodeType doUpdateCodeType(CodeType codeType);
}
